
		<?php if(empty($register['Page']['id'])){ ?>
		<h4><img src="<?php echo $html->url('/img/admin/user_pencil.png');?>" /> <?php __('add_groups');?></h4>
		<?php }else{?>
		<h4><img src="<?php echo $html->url('/img/admin/user_pencil.png');?>" /> <?php __('edit_groups');?></h4>
		<?php } ?>

		<form id="f_register" action="<?php echo $html->url('add'); ?>" method="post" onSubmit="event.returnValue = false; return false;">
			<div class="white_box white_box_last">
				<label><?php __('name');?></label>
				<?php echo $form->text('Group.name',array('value' => $register['Group']['name'], 'style' => 'width:690px;', 'class' => 'input_text'));?>

				<!-- ID que pertenece el user -->
				<?php echo $form->hidden('Group.id',array('value' => $register['Group']['id']));?>
			</div>
			<input type="submit" name="bot_guardar" value="<?php __('save');?>" class="input_button" />
		</form>
		<script type="text/javascript">
		//<![CDATA[
		Event.observe('f_register', 'submit', function(event){ajaxFormRequest('f_register','ajax_loading');}, false);
		//]]>
		</script>
